package com.biostime.qdingding.modules.qd.entity;

import com.biostime.qdingding.common.persistence.DataEntity;

/**
 * 订单促销Entity
 * @author king
 * @version 2015-11-12
 */
public class Orderpromotions extends DataEntity<Orderpromotions> {

	private static final long serialVersionUID = 1L;
	
	private Integer courseorderId;
	private CourseOrder courseorder;// 预约课程编号
	private Integer promotionId;// 促销编号
	private Integer centerId; //早教中心编号
	private Double money;// 促销金额
	private String description;// 描述，例如“将状态从'已旷课'改为'已签订'”,“发起扣费150元”，“规定时间外预约”
	
	private Promotion promotion;//促销
	
	public Orderpromotions(){
		super();
	}
	
	public Orderpromotions(String id){
		super(id);
	}
	
	public Integer getPromotionId() {
		return promotionId;
	}

	public void setPromotionId(Integer promotionId) {
		this.promotionId = promotionId;
	}
	
	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}
	
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	public Promotion getPromotion() {
		return promotion;
	}

	public void setPromotion(Promotion promotion) {
		this.promotion = promotion;
	}

	public Integer getCenterId() {
		return centerId;
	}

	public void setCenterId(Integer centerId) {
		this.centerId = centerId;
	}

	public CourseOrder getCourseorder() {
		return courseorder;
	}

	public void setCourseorder(CourseOrder courseorder) {
		this.courseorder = courseorder;
	}

	public Integer getCourseorderId() {
		return courseorderId;
	}

	public void setCourseorderId(Integer courseorderId) {
		this.courseorderId = courseorderId;
	}
}